//
//  Matrix.h
//  Philippe
//
//  Created by Maximilien Servajean on 04/05/14.
//  Copyright (c) 2014 Maximilien Servajean. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "ActivationPonderation.h"

@interface Matrix : NSObject {
    NSMutableArray* linesArray;
    NSMutableArray* activationArray;
    NSMutableArray* similarityArray;
    NSMutableArray* echo;
    
    ActivationPonderation* ponderation;
}

@property NSInteger singleLineSize;

- (id) initWithSize:(NSInteger)size;

- (id) init;

- (BOOL) addSonde:(NSArray*)line;

- (void) computeSimilarityWith:(NSArray*)sonde;

- (void) clear;

- (NSString*) activationString;

- (NSString*) matriceString;

- (NSString*) similarityString;

- (NSString*) echoString;

- (void) computeEcho;

- (BOOL) saveEcho;

@end
